package com.hzw.saas.common.config.action;


import com.hzw.saas.common.config.enums.ActionEnums;
import com.hzw.saas.common.config.msg.ChatMsg;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.UUID;

@ApiModel(value = "登陆响应的action")
@Data
@ToString
public class LoginRespAction extends ChatMsg {

    public LoginRespAction(){
        this.setActionType("2");
        this.setAction(ActionEnums.ACTION_LOGIN_RESPONSE.getAction());
        this.setRequestId(UUID.randomUUID().toString());
    }
    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "登陆结果")
    private Boolean loginResult;
}
